<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>TinyButStrong</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="tbs_us_examples_0styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<p align="center" class="title-page">Example of Block Syntaxes</p>
<p align="center">These examples illustrate the different available syntaxes for Merge-Blocks.</p>
<span class="title-section2">-&gt; Absolute Syntax:</span><span class="title-section"><br>
</span><span class="text-section2"><br>
The block is defined by a beginning TBS tag and an ending TBS tag.</span>
<p class="text-example2">[blk1;block=begin][blk1.val]<br>
  [blk1;block=end]</p>
<span class="title-section2">-&gt; Relative Syntax:</span><span class="title-section"><br>
</span> <span class="text-section2"><br>
The block is defined relatively to the HTML (or XML) tags that surround the TBS tag.<br>
Only a single  TBS tag defines the block, instead of a couple of TBS tags.</span> <br>
<br>
<table width="300" style="border-collapse:collapse;">
  <tr>
    <td class="row-example01 text-example2">[blk2.val][blk2;block=tr]</td>
  </tr>
</table>
<br>
<span class="title-section2">-&gt; Simplified Syntax:</span><br>
<span class="text-section2"><br>
The bloc definition is included inside a TBS field. It's much more simple to write.</span> <br>
<br>
<table width="300" style="border-collapse:collapse;">
  <tr>
    <td class="row-example01 text-example2">[blk3.val;block=tr]</td>
  </tr>
</table>
<br>
<span class="title-section2">-&gt; On a text line:<br>
<br>
</span><span class="text-section2">Use the symbol  &quot;_&quot; to define a block on a simple text line, independently of  HTML tags.</span><br>
<pre class="text-example2">
  [blk4.val;block=_]
</pre>
<span class="title-section2">-&gt; With Concatenation:<br>
<br>
</span><span class="text-section2">It's possible to define a block on several following HTML tags.<br>
For this, you just have to indicate the tags ton concatenate by separating them with &quot;+&quot;.<br>
In the example below, the block is bounded by two rows.</span><br>
<br>
<table width="300" style="border-collapse:collapse;">
  <tr>
    <td width="10" rowspan="2" bgcolor="#C4D9FF" class="row-example01 text-example2">&nbsp;</td>
    <td class="row-example01 text-example2">[blk5.val;block=tr+tr]</td>
  </tr>
  <tr>
    <td align="right" class="row-example01 text-example2">[blk5.val]</td>
  </tr>
</table>
<br>
<span class="title-section2">-&gt; With Encapsulation:<br>
<br>
</span><span class="text-section2">It's possible to define a block on an HTML tag of a higher level.<br>
For this, you just have to set the encapsulation level using parentheses.<br>
In the example below, the block is bounded by the pink row.</span><br>
<br>
<table width="300" cellpadding="4" style="border-collapse:collapse;">
  <tr>
    <td width="211" class="row-example02">
    	<table width="300" style="border-collapse:collapse;">
      <tr>
        <td class="row-example01 text-example2">[blk6.val;block=((tr))]</td>
      </tr>
    </table></td>
  </tr>
</table>
<br>
<span class="title-section2">-&gt; Without Block Definition:</span><span class="title-section"><u><br>
</u></span><span class="text-section2"><br>
If the block definition is omitted, then only the first record is merged.<font color="#006600"><u></u></font></span><font color="#006600"><em><span class="title-section"><u><br>
</u></span></em><br>
</font>Example: <span class="text-example2">[blk7.val]</span><br>
</body>
</html>
